package leetcode.nTree;

import java.util.List;

public interface SolutionService {

    /**
     * 589. N-ary Tree Preorder Traversal
     * https://leetcode.com/problems/n-ary-tree-preorder-traversal/
     * @param root
     * @return
     */
    List<Integer> preorder(Node root);

    /**
     * 590. N-ary Tree Postorder Traversal
     * https://leetcode.com/problems/n-ary-tree-postorder-traversal/
     * @param root
     * @return
     */
    List<Integer> postorder(Node root);

}
